Skip to content

Conversation

christianbeeznest
Copy link
Contributor

@christianbeeznest christianbeeznest commented Aug 4, 2025

Updated to latest upstream bigbluebutton-api-php library for bug fixes and new features.

Added “Pre-upload Documents” panel (AJAX-loaded PDF/PPTX/ODP list) for teachers to preload slides via BBB’s addPresentation API.

@ywarnier
Copy link
Member

ywarnier commented Aug 29, 2025

When I try uploading 3 documents, I get this (I've hidden the sensitive data with xxxx):

 AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught BigBlueButton\\Exceptions\\BadResponseException: Bad response, HTTP code: 413, url: https://xxxxxxxxxxxxxxx/bigbluebutton/api/create?name=JP1-0&meetingID=xxxxxxxxxxxxxxxx&attendeePW=JP1&moderatorPW=JP1mod&voiceBridge=87867&logoutURL=https%3A%2F%2Ftesting25.beeznest.com%2Fplugin%2FBbb%2Flisting.php%3Fcid%3D1%26sid%3D0%26gid%3D0%26action%3Dlogout%26remote_id%3D168b17e267e5a50.29302662&record=true&duration=300&maxParticipants=-1&checksum=xxxxxxxxxxxxxxxxxxxxxxx in /var/www/testing25.beeznest.com/www/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php:597\nStack trace:\n#0 /var/www/testing25.beeznest.com/www/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php(615): BigBlueButton\\BigBlueButton->sendRequest()\n#1 /var/www/testing25.beeznest.com/www/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php(155): BigBlueButton\\BigBlueButton->processXmlResponse()\n#2 /var/www/testing25.be...', referer: https://testing25.beeznest.com/plugin/Bbb/listing.php?cid=1&sid=0&gid=0

HTTP code: 413 is for "Request entity too large"

@ywarnier
Copy link
Member

The styling of that upload option box could be better 😅
I would put the upload box hidden by simply an upload icon floating on the right side (ActionIcon::UPLOAD) (where the cursor is in the screenshot). No need for the big box.
Capture d’écran du 2025-08-29 12-24-06

@ywarnier
Copy link
Member

Apparently, if I upload one 200KB file, it works, so it really seems to be linked to "Entity too large".
Can you make sure a return code of HTTP 413 doesn't result in a PHP Fatal error in Chamilo ?

I'll accept the PR in the meantime (to avoid generating queuing conflicts). Please open a new one in reference to #3244 as well.

@ywarnier ywarnier merged commit be283a2 into chamilo:master Aug 29, 2025
1 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants